<!-- toaster directive -->
<toaster-container
	toaster-options="{'position-class': 'toast-top-right', 'close-button':true}"></toaster-container>
<!-- / toaster directive -->
<!-- 导航条 -->
<div class="bg-white bread-crumb">
	<ul class="breadcrumb b-a m-b-n-xs lter b-b wrapper-md">
		<li><a ui-sref="main"><i class="fa fa-home"></i> 首页1</a></li>
		<li class="active">门禁管理</li>
		<li class="active" ng-bind="title">添加授权</li>
	</ul>
</div>

<!-- 内容区域 -->
<div class="wrapper-md content">
	<div class="panel panel-default">
		<!-- 头部 -->
		<div class="panel-heading font-bold">
			{{title}}<a
				class="btn btn-sm btn-icon btn-rounded btn-default pull-right m-t-n-xs"
				ui-sref="main.doorSysManager.authManager.list"><i
				class="text-md fa fa-times text-muted"></i></a>
		</div>
		<!--表单-->
		<div class="panel-body">
			<form class="form-horizontal" name="user_form">
				<!--用户名-->
				<div class="form-group">
					<label class="col-lg-2 col-sm-3 control-label" for="personId">
						姓名</label>
					<div class="col-sm-6">
						<select class="form-control" name="person" ng-change="selUser()"
							id="person" ng-model="record.person">
							<option value=""></option>
							<option value="1_411324198909182434">孙少峰</option>
							<option value="2_440506198808291714">李业振</option>
							<option value="3_500381199012174432">谢明</option>
							
						</select>
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<!--真实姓名-->
				<div class="form-group">
					<label class="col-lg-2 col-sm-3 control-label" for="buildingId">
						房屋地址</label>
					<div class="col-sm-6">
						<select class="form-control" name="buildingId"
							id="buildingId" ng-model="record.buildingId">
							<option value=""></option>
							<option value="1">幸福里新居</option>	
						</select>
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>

				<div class="form-group">
					<label class="col-lg-2 col-sm-3 control-label" for="cardNo">
						门禁卡号</label>
					<div class="col-sm-6">
					
						<input type="text" class="form-control" name="cardNo"
							id="cardNo" placeholder="请输入门禁卡号..."
							ng-model="record.cardNo">
						
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>

				<div class="form-group">
					<label class="col-lg-2 col-sm-3 control-label" for="cardType">
						卡类型</label>
					<div class="col-sm-6">
						<select class="form-control" name="cardType"
							id="cardType" ng-model="record.cardType">
							<option value="0" selected="selected">身份证</option>	
						</select>
<!-- 						<input type="text" class="form-control" name="cardType" -->
<!-- 							id="userName" placeholder="请选择卡类型..." ng-model="cardType"> -->
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>

<!-- 				<div class="form-group"> -->
<!-- 					<label class="col-lg-2 col-sm-3 control-label" for="phone"> -->
<!-- 						结束时间 -->
<!-- 					</label> -->
<!-- 					<div class="col-sm-6"> -->
<!-- 						<input onfocus="this.blur()" placeholder="请输入日期" id="enterTime" name="enterSure.enterTime" -->
<!-- 								class="laydate-icon" -->
<!-- 								onClick="laydate({elem:'#enterTime',istime: true, format: 'YYYY-MM-DD hh:mm:ss'})"> -->
<!-- 						<span class="help-block m-b-none"></span> -->
<!-- 					</div> -->
<!-- 				</div> -->
<!-- 				<div class="line line-dashed b-b line-lg pull-in"></div> -->
				<!--btn-->
				<div class="form-group">
					<div class="col-sm-6 col-sm-offset-2">
						<button type="button" class="btn  w-xs addNew" ng-show="reset" ng-click="resetFrom()">重置</button>
						<button type="submit" class="btn btn-info w-xs m-l-xl addNew"
							ng-disabled="isDisabled">保存</button>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>
